package com.example.makerspace.domain;

import cn.hutool.db.DaoTemplate;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "t_competition_parent", autoResultMap = true)
public class CompetitionParentDO extends BaseDO {

    private String title;

    private String image;

    private String info;

    private String briefInfo;

    private  String richBriefInfo;


    private String organizer;

    private Boolean mark;

    private Date startTime;

    private Date endTime;

    private Date applicationStartTime;

    private Date applicationEndTime;
    @Field(name = "work_time", type = FieldType.Text, analyzer="ik_max_word")
    private String workTime;
    @Field(name = "quitting_time", type = FieldType.Text, analyzer="ik_max_word")
    private String quittingTime;
    @Field(name = "phone_number", type = FieldType.Text, analyzer="ik_max_word")
    private String phoneNumber;
    @Field(name = "show_number", type = FieldType.Text, analyzer="ik_max_word")
    private  Integer showNumber;
}
